#pragma once
#include "DXAMLCommon.h"

class CTextCore
{
//private: 
//	CCoreServices * m_pCore;
//	WinTextCore * m_pWinTextCore;
//	struct PALText::IRenderingParams * m_pRenderingParams;
//	XcpClearType * m_pClearType;
//	IFontAndScriptServices * m_pFontAndScriptServices;
//	RichTextServices::TextFormatterCache * m_pTextFormatterCache;
//	TextFormatting * m_pDefaultTextFormatting;
//	CUIElement * m_pLastSelectedTextElement;
//public: 
//	CTextCore(CCoreServices * pCore);
//	~CTextCore();
//	CCoreServices * GetCoreServices();
//	WinTextCore * GetWinTextCore() const;
//	struct PALText::IRenderingParams * GetTextRenderingParams();
//	XcpClearType * GetClearType();
//	HRESULT Initialize(struct IPALWorkItemFactory * pWorkItemFactory);
//	HRESULT GetFontAndScriptServices(IFontAndScriptServices * * ppFontAndScriptServices);
//	HRESULT GetTextFormatterCache(RichTextServices::TextFormatterCache * * ppTextFormatterCache);
//	HRESULT GetDefaultTextFormatting(TextFormatting * * ppDefaultTextFormatting);
//	void ClearDefaultTextFormatting();
//	void SetLastSelectedTextElement(CUIElement * pLastSelectedTextElement);
//	void ClearLastSelectedTextElement();
//	static XUINT32 IsTextControl(struct Xcp_IDependencyObject * pDo);
//	XUINT32 CanSelectText(CUIElement * pTextElement);
};
